#include "camprec.h"

#include "GLListBase.h"

CGLListBase::CGLListBase(void): m_bEnabled (false)
{
}

CGLListBase::~CGLListBase(void)
{
}

DWORD CGLListBase::GetOGLSelectID (const DWORD &index)
{
	if(vOGLSelectID.size() == 0)
		return 0;
	if(index >=vOGLSelectID.size())
		return 0;

	return vOGLSelectID[index];
};

void CGLListBase::SetOGLSelectID (const DWORD &index, const DWORD &ID)
{
	if(vOGLSelectID.size() == 0)
		return;
	if(index >=vOGLSelectID.size())
		return;

	 vOGLSelectID[index] = ID;
}